package com.wjj;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;
import org.springframework.cloud.netflix.ribbon.RibbonClients;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;
import ribbon.RibbonConfig;

/**
 * @Description
 * @Author junjun Wang
 * @Date Create in 10:42 2023/12/7
 **/
@SpringBootApplication
@EnableEurekaClient
@EnableZuulProxy
@RibbonClients({@RibbonClient(value = "student-service", configuration = RibbonConfig.class),
		@RibbonClient(value = "class-service", configuration = RibbonConfig.class)})
public class ZuulApiGatewayApplication01 {

	public static void main(String[] args) {
		SpringApplication.run(ZuulApiGatewayApplication01.class, args);
	}
}
